package com.sz.biz.logistics.core.dto;

import com.sz.biz.logistics.core.entity.Product;
import com.sz.biz.logistics.core.entity.ProductRegionRel;
import com.sz.biz.logistics.core.entity.ProductServiceRel;

import java.util.ArrayList;
import java.util.List;

/**
 * Function: ProductDto. <br>
 * Date: 2017年04月25日 14:16 <br>
 * Author: wentao.chang
 */
public class ProductDto extends Product {
    private String creator;
    private String statusName;
    private Boolean isMainExist;
    private String serviceProperty;

    public Boolean getIsMainExist() {
        return isMainExist;
    }

    public void setIsMainExist(Boolean isMainExist) {
        this.isMainExist = isMainExist;
    }

    private List<ProductServiceRel> services = new ArrayList<>();

    private List<ProductCargotypeRelDto> cargos = new ArrayList<>();
    private List<ProductRegionRel> serviceTypes = new ArrayList<>();

    public List<ProductCargotypeRelDto> getCargos() {
        return cargos;
    }

    public void setCargos(List<ProductCargotypeRelDto> cargos) {
        this.cargos = cargos;
    }

    public List<ProductRegionRel> getRegions() {
        return regions;
    }

    public void setRegions(List<ProductRegionRel> regions) {
        this.regions = regions;
    }

    private List<ProductRegionRel> regions = new ArrayList<>();


    public List<ProductRegionRel> getServiceTypes() {
        return serviceTypes;
    }

    public void setServiceTypes(List<ProductRegionRel> serviceTypes) {
        this.serviceTypes = serviceTypes;
    }


    public List<ProductServiceRel> getServices() {
        return services;
    }

    public void setServices(List<ProductServiceRel> services) {
        this.services = services;
    }


    @Override
    public String getCreator() {
        return creator;
    }

    @Override
    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getServiceProperty() {
        return serviceProperty;
    }

    public void setServiceProperty(String serviceProperty) {
        this.serviceProperty = serviceProperty;
    }
}
